<div id="header" class="blue_lin">
    <div class="header_left">
        <div class="logo">
        <!--<img src="images/logo.png" width="160" height="60" alt="Ekra">-->
            <?php echo $this->Html->image('../images/logo.png', array('width' => 160, 'height' => 60, 'alt' => 'Ekra')); ?>
        </div>
        <?php echo $this->element('menu_principal_celular'); ?>
    </div>
    <div class="header_right">        
        <div id="user_nav">
            <ul>
                <li class="user_thumb"><a href="#">
                        <span class="icon">
                            <img src="<?php echo $this->webroot; ?>images/user_thumb.png" width="30" height="30" alt="User">
                        </span>
                    </a>
                </li>
                <li class="user_info">
                    <span class="user_name">
                        <?php
                            $perfil = $this->Session->read('Auth.User.Group');
                            echo $perfil['name'].': ';
                            $usuario = $this->Session->read('Auth.User');
                            //debug($usuario);
                            echo $usuario['apellido_paterno'].' '; 
                            echo $usuario['apellido_materno'].' ';
                            echo $usuario['nombre'];
                        ?>
                    </span>
                    <span>
                        <a href="<?php echo $this->Html->url(array('controller'=>'Users', 'action'=>'editarperfil', $usuario['id'])); ?>">Editar mis datos</a> &#124; <a href="<?php echo $this->Html->url(array('controller'=>'Users', 'action'=>'cambiopass', $usuario['id'])); ?>">Editar password</a></span></li>
                        <li class="logout"><a href="<?php echo $this->Html->url(array('controller'=>'Users', 'action'=>'salir')); ?>"><span class="icon"></span>Salir</a></li>
            </ul>
        </div>
    </div>
</div>